package kjh820909.basic;

public class Ch04_Q3 {

	public static void main(String[] args) {

		Wine wine = new Wine("dd", "du", "ier", "fef", "eudh", 2, 3);
		System.out.println(wine.sul());
		
	}

}


	class Wine{
		String manufacturer;
		String name;
		String country;
		String region;
		String kind;
		int year;
		int grade;
		public Wine() {
		}
		public Wine(
		String manufacturer, String name, String country, String region,
		String kind, int year, int grade ) {
			this.manufacturer = manufacturer;
			this.name = name;
			this.country = country;
			this.region = region;
			this.kind = kind;
			this.year = year;
			this.grade = grade;
		}
		String sul(){
			String red;
			red = "제조사는 : "+ manufacturer+"\n";
			red = red+"이름은 : "+ name+"\n";
			red = red+"국적은 : "+ country+"\n";
			red = red+"지역은 : "+ region+"\n";
			red = red+"종류는 : "+ kind+"\n";
			red = red+"년도는 : "+ year+"\n";
			red = red+"품질은 : "+ grade;
			return red;
			
		}
		
	}















